#pragma once

namespace SpikingNeuronLib
{
	public value struct GroupLink
	{
	public:
		property int PresynapticIndex;
		property int PostsynapticIndex;
		property int Delay;
		property int Layer;

		GroupLink(int presynapticIndex, int postsynapticIndex, int delay, int layer)
		{
			PresynapticIndex = presynapticIndex;
			PostsynapticIndex = postsynapticIndex;
			Delay = delay;
			Layer = layer;
		}
		virtual String^ ToString() override { return String::Format("({0}, {1}, {2}, {3})", PresynapticIndex, PostsynapticIndex, Delay, Layer); }
	};
}
